menubutton: Put images in a table
authorMatthias Clasen <mclasen@redhat.com>
Sun, 28 Feb 2021 00:48:14 +0000 (19:48 -0500)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 11 Mar 2021 16:37:35 +0000 (16:37 +0000)
gtk/gtkmenubutton.c

index 81c133f0081f18e9590acc13055fd61aef1e3df4..eee296e37f77022307245ad7b188599285633a4d 100644 (file)
@@ -21,7 +21,7 @@
 /**
  * GtkMenuButton:
  *
- * The `GtkMenuButton` widget is used to display a popup when clicked on.
+ * The `GtkMenuButton` widget is used to display a popup when clicked.
  *
  * ![An example GtkMenuButton](menu-button.png)
  *
  * menu is popped up above the button instead. If the alignment would move
  * part of the menu offscreen, it is “pushed in”.
  *
- * ## Direction = Down
- *
- * - halign = start
- *
- *     ![](down-start.png)
- *
- * - halign = center
- *
- *     ![](down-center.png)
- *
- * - halign = end
- *
- *     ![](down-end.png)
- *
- * ## Direction = Up
- *
- * - halign = start
- *
- *     ![](up-start.png)
- *
- * - halign = center
- *
- *     ![](up-center.png)
- *
- * - halign = end
- *
- *     ![](up-end.png)
- *
- * ## Direction = Left
- *
- * - valign = start
- *
- *     ![](left-start.png)
- *
- * - valign = center
- *
- *     ![](left-center.png)
- *
- * - valign = end
- *
- *     ![](left-end.png)
- *
- * ## Direction = Right
- *
- * - valign = start
- *
- *     ![](right-start.png)
- *
- * - valign = center
- *
- *     ![](right-center.png)
- *
- * - valign = end
- *
- *     ![](right-end.png)
+ * |           | start                | center                | end                |
+ * | -         | ---                  | ---                   | ---                |
+ * | **down**  | ![](down-start.png)  | ![](down-center.png)  | ![](down-end.png)  |
+ * | **up**    | ![](up-start.png)    | ![](up-center.png)    | ![](up-end.png)    |
+ * | **left**  | ![](left-start.png)  | ![](left-center.png)  | ![](left-end.png)  |
+ * | **right** | ![](right-start.png) | ![](right-center.png) | ![](right-end.png) |
  *
  * # CSS nodes
  *
- * |[<!-- language="plain" -->
+ * ```
  * menubutton
  * ╰── button.toggle
  *     ╰── <content>
  *          ╰── [arrow]
- *]|
+ * ```
  *
  * `GtkMenuButton` has a single CSS node with name `menubutton`
  * which contains a `button` node with a `.toggle` style class.